<?php
	include "db.php";	
	$conn = mysqli_connect(HOST.":".PORT, USER, PASS);
	mysqli_select_db($conn, DB);
	if ($conn) {
		mysqli_query($conn, "set sql_mode='strict_trans_tables'");
		mysqli_query($conn, "set sql_safe_updates=0");
		mysqli_query($conn,"set names 'utf8'");
	} else{
		die(mysqli_connect_error());

	}
	
?>